package com.znzz.dao;

import com.znzz.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    /**
     * 通过uid和密码登录
     * @param uid
     * @param password
     * @return
     */
     User checklogin(@Param(value = "uid")String uid, @Param(value = "password") String password);

     User queryUser(@Param(value = "user") User user);

    void updatePassword(User user);
}
